*reformats the inventorweighst used for spillover distribution to long for the simulation and throws out some that do not have any weight

use ${d}datasets/weights/bvdid_inventor_weights_all_from1970_1995_orbis2017.dta, clear
reshape long share_invt_1995_, string i(BvD) j(ctry)
ren share_invt_1995_ weight
drop if weight == 0
save ${d}datasets/macrosim/bvd_ctry_inventor_weightspre_long.dta, replace